Skip to main content

pgTextOfRow

Type​

property

Summary​

Get and set the text of a row in a PolyGrid.

Syntax​

set the pgTextOfRow of widget to <String>
get the pgTextOfRow of widget

Description​

Use the pgTextOfRow property to get and set the text of a row in a PolyGrid.

Before calling the pgTextOfRow property, you must point to the row for which you want to get or set the text. This is done with the pgInternalPointer property.

Examples​

on mouseUp
local tText

# The following code shows how to get the text of the fifth row.
set the pgInternalPointer of widget "PolyGrid" to "5" --> Row 5
put the pgTextOfRow of widget "PolyGrid" into tText
end mouseUp